﻿using System.Collections.Generic;
using System.Linq;
using Inscriptionem.Areas.Inscriptionem.Models.Enums;

namespace Inscriptionem.Areas.Inscriptionem.Models.Views
{
    public class TagCollectionViewModel
    {
        public IEnumerable<ORM.Tag> Tags { get; protected set; }
        public OrderError Error { get; set; }

        public TagCollectionViewModel()
        {
            Tags = new ORM.DB().Tags.OrderBy(t => t.ID);
        }

        public int Page { get; set; }
    }
}